import server from "..";

export const booking = (data) => {
    return server({
        url: "/api/booking",
        method:"POST",
        data
    })
}

export const getBooking = (data) => {
    return server({
        url: "/api/getBooking",
        method: "POST",
        data
    })
}

export const OneClickOn = (data) => {
    return server({
        url:'/api/OneClickOn',
        method:"POST",
        data
    })
}


export const GetMeetingHistory = (data) => {
   return server({
    url: "/api/getMeetingHistory",
    method:"POST",
    data
   })
}


export const DelHistory = (data) => {
    return server({
        url:"/api/deleteHistoryMeeting",
        method:"POST",
        data
    })
}

export const fire = () => {
    return server({
        url:"/api/smokeStatus",
        method:"POST"
    })
}

export const requestApi = (requestUrl,data)=>{
    return server({
        url: requestUrl,
        method: "POST",
        data
    })
}